package com.microlearning.datasource.mapper;

import com.microlearning.datasource.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    // 根据ID查询用户
    User getUserById(int id);

    // 查询所有用户
    List<User> getAllUsers();

}
